<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['apply_addbilling']=array (
  'columns' =>
  array (
    'id' =>
     array (
       'type' => 'number',
       'extra' => 'auto_increment',
       'pkey' => true,
       'label' => app::get('b2c')->_('增值id'),
    ),
    'member_id' =>
    array (
      'type' => 'table:members@pam',
      'required' => true,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
      'order' => '4',
      'label' => app::get('aftersales')->_('申请人'),
      'comment' => app::get('aftersales')->_('申请人'),
    ),
   
    'company' =>
    array (
        'type' => 'longtext',
        'label' => app::get('aftersales')->_('单位名称'),
        'comment' => app::get('aftersales')->_('单位名称'),
    ),
    'company_taxpayer' =>
    array(
        'type' => 'longtext',
        'label' => app::get('aftersales')->_('纳税人识别码'),
        'comment' => app::get('aftersales')->_('纳税人识别码'),
    ),
    'company_addr' =>
    array (
        'type' => 'varchar(200)',
        'label' => app::get('b2c')->_('注册地址'),
        'width' => 75,
        'searchtype' => 'has',
        'editable' => true,
        'filtertype' => 'normal',
        'filterdefault' => 'true',
        'in_list' => true,
        'is_title'=>true,
        'default_in_list' => false,
    ),
    'company_mobile' =>
    array (
        'type' => 'varchar(50)',
        'label' => app::get('b2c')->_('注册号码'),
        'width' => 80,
        // 'sdfpath' => 'contact/phone/mobile',
        'searchtype' => 'head',
        'editable' => true,
        'filtertype' => 'normal',
        'filterdefault' => 'true',
        'in_list' => true,
        'default_in_list' => true,
    ),
     'open_bank' =>
    array (
        'type' => 'longtext',
        'label' => app::get('aftersales')->_('开户银行'),
        'comment' => app::get('aftersales')->_('开户银行'),
    ),
    'bank_account' =>
    array(
        'type' => 'longtext',
        'label' => app::get('aftersales')->_('银行账户'),
        'comment' => app::get('aftersales')->_('银行账户'),
    ),
    'last_modify' => array(
      'type' => 'last_modify',
      'label' => app::get('b2c')->_('更新时间'),
      'comment' => app::get('b2c')->_('更新时间'),
    ),
  ),
  'engine' => 'innodb',
  'version' => '$Rev: 40912 $',
  'comment' => app::get('aftersales')->_('客户开票申请表'),
);
